package pers.xiaojun.boot.common.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * OAuth 2.0 配置
 *
 * @author xiaojun
 * @since 2025-10-18
 */
@Data
@Component
@ConfigurationProperties(prefix = "xiaojun.oauth2")
public class OAuth2Properties {

    /**
     * 授权码存活时间（单位：秒，默认300）
     */
    Integer codeExpiresIn = 300;


}
